<?
//package junit.runner;
/**
 * A listener interface for observing the
 * execution of a test run. Unlike TestListener,
 * this interface using only primitive objects,
 * making it suitable for remote test execution.
 */
interface TestRunListener 
{
     /* test status constants*/
     // WE CAN'T DO CONSTANTS IN INTERFACES!!! WTF!!!
     //public static final function STATUS_ERROR= 1;
     //public static final function STATUS_FAILURE= 2;

     public function testRunStarted( $testSuiteName, $testCount );
     public function testRunEnded( $elapsedTime );
     public function testRunStopped( $elapsedTime );
     public function testStarted( $testName );
     public function testEnded( $testName );
     public function testFailed( $status, $testName, $trace );
}
?>